package aps.module_Machines;

import net.minecraft.src.ICrafting;
import net.minecraft.src.InventoryPlayer;
import aps.module_Core.ContainerAPS;

public class ContainerExtractor extends ContainerAPS {
	
	public ContainerExtractor(TileEntityExtractor cargo, InventoryPlayer playerInv)
    {
        super(cargo, playerInv);
    	addPlayerInventorySlots(playerInv);
    }
    
    public void updateCraftingResults()
    {
    	super.updateCraftingResults();
    	
    	for (int i = 0; i < crafters.size(); i++)
    		this.tileEntity.sendGUIUpdates(this, (ICrafting)crafters.get(i));
    }
    
    public void updateProgressBar(int i, int j)
    {
    	this.tileEntity.getGUIUpdates(i, j);
    }
}
